/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.jeeplus.core.persistence.DataEntity;

import java.util.Date;
import java.util.List;

/**
 * 房间内玩家Entity
 *
 * @author rongjie
 * @version 2017-08-06
 */
public class YJRoomUser extends DataEntity<YJRoomUser> {
    
    private static final long serialVersionUID = 1L;
    private String roomNum; //房间号
    private String roomFlag; // 房间唯一标识
    private String roomUser; //玩家
    private String isOut; // 是否退出
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String userUrl;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<YjScoreRecord> list;
    private String totalScore;
    private String endGamesCount;
    //房主ID
    private String homeWnerId;
    //1是统一记分
    private String unifiedScoring;







    //临时参数
    private String gamesCount;
    private String userName;
    private Date startDate;
    private Date endDate;
    private String gamesTotal;


    public String getHomeWnerId() {
        return homeWnerId;
    }

    public void setHomeWnerId(String homeWnerId) {
        this.homeWnerId = homeWnerId;
    }

    public String getUnifiedScoring() {
        return unifiedScoring;
    }

    public void setUnifiedScoring(String unifiedScoring) {
        this.unifiedScoring = unifiedScoring;
    }

    public String getGamesTotal() {
        return gamesTotal;
    }

    public void setGamesTotal(String gamesTotal) {
        this.gamesTotal = gamesTotal;
    }

    public String getEndGamesCount() {
        return endGamesCount;
    }
    
    public void setEndGamesCount(String endGamesCount) {
        this.endGamesCount = endGamesCount;
    }
    
    public String getGamesCount() {
        return gamesCount;
    }
    
    public void setGamesCount(String gamesCount) {
        this.gamesCount = gamesCount;
    }
    
    public String getTotalScore() {
        return totalScore;
    }
    
    public void setTotalScore(String totalScore) {
        this.totalScore = totalScore;
    }
    
    public String getUserUrl() {
        return userUrl;
    }
    
    public void setUserUrl(String userUrl) {
        this.userUrl = userUrl;
    }
    
    public List<YjScoreRecord> getList() {
        return list;
    }
    
    public void setList(List<YjScoreRecord> list) {
        this.list = list;
    }
    
    public String getRoomNum() {
        return roomNum;
    }
    
    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }
    
    public String getRoomFlag() {
        return roomFlag;
    }
    
    public void setRoomFlag(String roomFlag) {
        this.roomFlag = roomFlag;
    }
    
    public String getRoomUser() {
        return roomUser;
    }
    
    public void setRoomUser(String roomUser) {
        this.roomUser = roomUser;
    }
    
    public String getIsOut() {
        return isOut;
    }
    
    public void setIsOut(String isOut) {
        this.isOut = isOut;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public Date getStartDate() {
        return startDate;
    }
    
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }
    
    public Date getEndDate() {
        return endDate;
    }
    
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
